﻿using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace NpmPackageDownLoad
{
    public class JsonModel
    {
        public string Name { get; set; }
        public string Version { get; set; }
        public int LockfileVersion { get; set; }



        public Dictionary<string, PackageModel> Dependencies { get; set; } = new Dictionary<string, PackageModel>();
    }
    public class PackageModel {
        public string Version { get; set; }
        public string Resolved { get; set; }
        public string Integrity { get; set; }
        public Dictionary<string, string> Requires { get; set; } = new Dictionary<string, string>();

        public Dictionary<string, PackageModel> Dependencies { get; set; } = new Dictionary<string, PackageModel>();

    }
}
